
//封装本地缓存函数

var storage = {
    set(key,value){
        localStorage.setItem(key,JSON.stringify(value));
    },
    get(key){
        return JSON.parse(localStorage.getItem(key));
    },
    remave(key){
        localStorage.remave(key);
    }
}

export default storage;

